﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SuperListEx
{
  public class EventInfo<ItemType> : EventArgs
  {
    public readonly EventType EventType;
    public readonly IEnumerable<ItemType> Items;

    public EventInfo(EventType eventType, ItemType item)
    {
      EventType = eventType;
      Items = new ItemType[] { item };
    }

    public EventInfo(EventType eventType, IEnumerable<ItemType> items)
    {
      EventType = eventType;
      Items = items;
    }
  }
}
